package com.dhcc.cdc.sys.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.DataEntity;


/**
 * 系统字典类型
 * 
 * @ClassName: DictypeEntity
 * @Description: TODO
 * @author jumper
 * @date 2021-04-16 17:11:56
 */
@TableName("t_cdc_sys_dictype") 
public class DictypeEntity extends DataEntity<DictypeEntity> {
	private static final long serialVersionUID = 1L;
	
	//代码
	private String code;	
	//描述
	private String description;	
	//产品线
	private Long productId;	
    @TableField(exist = false)
    private CdcProductEntity product;	
	public CdcProductEntity getProduct() {
        return product;
    }
    public void setProduct(CdcProductEntity product) {
        this.product = product;
    }
    //是否有效
	private Integer isActive;	

	/**
	 * 设置：代码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：代码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：产品线
	 */
	public void setProductId(Long productId) {
		this.productId = productId;
	}
	/**
	 * 获取：产品线
	 */
	public Long getProductId() {
		return productId;
	}
	/**
	 * 设置：是否有效
	 */
	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}
	/**
	 * 获取：是否有效
	 */
	public Integer getIsActive() {
		return isActive;
	}
}
